
package cn.org.chiss.rhin._2015.base;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 时间段
 *
 * <p>Period complex type的 Java 类。
 *
 * <p>以下模式片段指定包含在此类中的预期内容。
 *
 * <pre>
 * &lt;complexType name="Period"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://www.chiss.org.cn/rhin/2015}Any"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="start" type="{http://www.chiss.org.cn/rhin/2015}DateTime"/&gt;
 *         &lt;element name="end" type="{http://www.chiss.org.cn/rhin/2015}DateTime" minOccurs="0"/&gt;
 *         &lt;element name="duration" type="{http://www.chiss.org.cn/rhin/2015}Duration" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Period", propOrder = {
    "start",
    "end",
    "duration"
})
@EqualsAndHashCode(callSuper=false)
@Data
@Accessors(chain = true)
public class Period extends Any {

    @XmlElement(required = true)
    protected DateTime start;
    protected DateTime end;
    protected Duration duration;

}
